package com.ebuy.shopping.service;

import java.util.List;

import com.ebuy.shopping.model.Order;

public interface IOrderService
{
    Order load(int id) throws Exception;

    int deleteByPrimaryKey(int id) throws Exception;

    List<Order> selectList() throws Exception;

    List<Order> getOrders() throws Exception;

    int add(Order order) throws Exception;

    int update(Order order) throws Exception;

    Order getOrdersByUserId() throws Exception;
}
